class CreateLoggedActions < ActiveRecord::Migration
  def self.up
    create_table :logged_actions do |t|
      t.string :name
      t.integer :logged_controller_id
    end
    
    add_index :logged_actions, :logged_controller_id
  end

  def self.down
    drop_table :logged_actions
  end
end
